<!DOCTYPE html>
<html>
<head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
</head>
<body>
    <script>
        test(function () {
            assert_equals("", document.referrer);
        }, "noreferrer link takes precedence over referrerpolicy attribute");
    </script>
</body>
</html>
